package chixing.day07.work;

public class FullTimeEmployee extends MyEmployee{
    private double bonus;
    public FullTimeEmployee()
    {
        super();
        bonus = 0;
    }
    public FullTimeEmployee(String empName, int empNo, double empBaseSalary,double bonus)
    {
        super(empName, empNo, empBaseSalary);
        this.bonus = bonus;
    }
    public double calculateSalary()
    {
        return super.calculateSalary() + bonus;
    }

}
